import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Layout from '../components/HelloWorld.vue'
import Login from '../views/Login.vue'
const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'Home',
        component: Layout
    },
    {
        path: '/login',
        name: 'Login',
        component: Login
    },
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router
